package com.emotionalEnvelope.edu.param;

import com.emotionalEnvelope.edu.model.UserInFo;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserInFoParam extends UserInFo implements Serializable {
    private Long id;
    @NotEmpty(message = "性别不能为空")
    private String sex;
    @NotNull(message = "年龄不能为空")
    private Long age;
    @NotEmpty(message = "电话不能为空")
    private String phone;

}
